package com.example.bilibili_fake.data.network

import com.example.bannerapi.model.BannerResponse

import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Query

import okhttp3.ResponseBody
import retrofit2.Response
import retrofit2.http.Header
import retrofit2.http.Headers

interface BannerApi {
    @Headers("content-type: application/json; charset=utf-8")
    @GET("x/web-interface/index/top/rcmd")
    suspend fun getRecommendations(
        @Query("version") version: Int,
        @Query("ps") ps: Int
    ): Response<BannerResponse>
}